// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.script;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/script/definition/navigation")
public class ScriptConfigurationNavigationTestGenerated extends AbstractScriptConfigurationNavigationTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("buildSrcProblem")
    public void testBuildSrcProblem() throws Exception {
        runTest("testData/script/definition/navigation/buildSrcProblem/");
    }

    @TestMetadata("conflictingModule")
    public void testConflictingModule() throws Exception {
        runTest("testData/script/definition/navigation/conflictingModule/");
    }

    @TestMetadata("customBaseClass")
    public void testCustomBaseClass() throws Exception {
        runTest("testData/script/definition/navigation/customBaseClass/");
    }

    @TestMetadata("includedPluginProblem")
    public void testIncludedPluginProblem() throws Exception {
        runTest("testData/script/definition/navigation/includedPluginProblem/");
    }

    @TestMetadata("javaLib")
    public void testJavaLib() throws Exception {
        runTest("testData/script/definition/navigation/javaLib/");
    }

    @TestMetadata("javaLibWithSources")
    public void testJavaLibWithSources() throws Exception {
        runTest("testData/script/definition/navigation/javaLibWithSources/");
    }

    @TestMetadata("kotlinLib")
    public void testKotlinLib() throws Exception {
        runTest("testData/script/definition/navigation/kotlinLib/");
    }

    @TestMetadata("kotlinLibWithSources")
    public void testKotlinLibWithSources() throws Exception {
        runTest("testData/script/definition/navigation/kotlinLibWithSources/");
    }

    @TestMetadata("stdlib")
    public void testStdlib() throws Exception {
        runTest("testData/script/definition/navigation/stdlib/");
    }

    @TestMetadata("stdlibWithSources")
    public void testStdlibWithSources() throws Exception {
        runTest("testData/script/definition/navigation/stdlibWithSources/");
    }
}
